<div class="caixa">
	<div class="topobox cinza">
		Professores da Turma
	</div>
	<div class="meiobox">
		<table class="tablesorter"> 
			<thead> 
				<tr>
					<th>
						Professor:
					</th>
					<th>
						Disciplina:
					</th>
					<th>
						Turma:
					</th>
					<th>
						Ano da turma:
					</th>
					<th>
						Curso:
					</th>
					<th width="150px">
						
					</th>
					<th width="150px">
						
					</th>
				</tr>
			</thead>
			<tbody>
				<?php foreach($this->disciplina as $key){?>
					<tr>
						<td>
							<?php echo @$this->professor[$key['iddisciplina']]['professor']?>
						</td>
						<td>
							<?php echo $key['disciplina']?>
						</td>
						<td>
							<?php echo $this->turma['turma']?>
						</td>
						<td>
							<?php echo $this->turma['ano']?>
						</td>
						<td>
							<?php echo $key['curso']?>
						</td>
						<td>
							<a href="<?php echo $this->base?>/turma/adicionarprofessor/iddisciplina/<?php echo $key['iddisciplina']?>/idturma/<?php echo $this->turma['idturma']?>" class="botao">
								<span>Adicionar Professor</span>
							</a>
						</td>
						<td>
							<?php if(@$this->professor[$key['iddisciplina']]!=""){?>
							<a href="<?php echo $this->base?>/turma/adicionarlaudo/idprofessordisciplina/<?php echo $this->professor[$key['iddisciplina']]['idprofessordisciplina']?>" class="botao">
								<span>Adicionar Plano</span>
							</a>
							<?php }?>
						</td>
					</tr>
				<?php }?>
			</tbody>
		</table>
		<a href="<?php echo $this->base?>/turma/listar" class="botaovermelho">
			<span>
				 Voltar				
			</span>
		</a>
	</div>
</div>